import React from 'react'
import ReactDOM from 'react-dom'
import App from './App.jsx'
ReactDOM.render(
  <App name="111"/>,
  document.getElementById('root')
)

/**
 * 
 * const obj = {
 *  a: {
 *    b: {
 *      c: {
 *        d: 10
 *      }
 *    }
 *  }
 * }
 * 
 * const { d } = obj.a.b.c
 * const { c: { d }} = obj.a.b
 * const { b: { c: { d } } } = obj.a
 * const { a: { b: c: { d } } } = obj
 * 
 * console.log(d)
 */